package wxshop.api.admin.model;

import java.io.Serializable;

public class PriceRules implements Serializable{
    private int id;
    private int level;
    private float agio;
    private String intro;

    public PriceRules() {
    }
    
    public PriceRules (int id) {
        this.id = id;
    }
    
    public PriceRules (int level, float agio, String intro) {
        this.level = level;
        this.agio = agio;
        this.intro = intro;
    }
    
    public PriceRules(int id, int level, float agio) {
        this.id = id;
        this.level = level;
        this.agio = agio;
    }

    public PriceRules(int id, int level, float agio, String intro) {
        this.id = id;
        this.level = level;
        this.agio = agio;
        this.intro = intro;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public float getAgio() {
        return agio;
    }

    public void setAgio(float agio) {
        this.agio = agio;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    @Override
    public String toString() {
        return "PriceRules{" +
                "id=" + id +
                ", level=" + level +
                ", agio=" + agio +
                ", intro='" + intro + '\'' +
                '}';
    }
}
